package com.itheima.service;


import com.itheima.entity.QueryPageBean;
import com.itheima.pojo.SetMeal;
import com.github.pagehelper.PageInfo;

import java.util.List;
import java.util.Map;

public interface SetMealService {

     PageInfo pageQuery(QueryPageBean queryPageBean);

     void add(SetMeal setMeal, Integer[] checkgroupIds);

    void delete(Integer smId);

    List<SetMeal> findAll();

    SetMeal findById(Integer id);

    SetMeal getSetMeal(Integer id);

    void update(SetMeal setMeal, Integer[] checkgroupIds);

    List<Map<String, Object>> findSetMealCount();

}
